package mtn.bowen.yan.server;

import mtn.bowen.yan.server.fx.AbstractFxApplication;
import mtn.bowen.yan.server.fx.FxmlView;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.Arrays;

/**
 * @author <a href=mailto:yanbowen90@foxmail.com> bowen.yan </a>
 * @version 1.0
 * @description: Start the server
 * @date 2021-10-21 11:43 PM
 */
@SpringBootApplication(scanBasePackages = {"mtn.bowen.yan.server"})
public class RecipeServerApplication extends AbstractFxApplication {

    public static void main(String[] args) {
        run(RecipeServerApplication.class,
                Arrays.asList(
                        FxmlView.MAIN
                ),
                FxmlView.MAIN, args
        );
    }

}
